<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>modifyOneStu.jsp</title>
</head>
<body>
	<form action="<%=basePath%>/student/modifyOneStuInfoServlet" method="post">
		<table bgColor="#c0c0c0">
			<tr>
				<td align="center" bgcolor=green colspan=2><font color=white>学生信息录入</font></td>
			</tr>
			<tr>
				<td>昵称：</td>
				<td><input type="text" size=20 name="nicheng" value="${stu.nicheng}"></td>
			</tr>
			<tr>
				<td>真实姓名：</td>
				<td><input type="text" size=20 name="truename" value="${stu.truename}"></td>
			</tr>
			<tr>
				<td>性别</td>
				<td>
					<input type="text" size=20 name="sex" value="${stu.sex}">
				</td>
			</tr>
			<tr>
				<td>出生日期：</td>
				<td><input type="text" size=20 name="birthday" value="${stu.birthday}"></td>
			</tr>
			<tr>
				<td>所学专业：</td>
				<td><input type="text" size=20 name="major" value="${stu.major}"></td>
			</tr>
			<tr>
				<td>所学课程：</td>
				<td><input type="text" size=20 name="course" value="${stu.course}"></td>
			</tr>
			<tr>
				<td>兴趣：</td>
				<td><input type="text" size=20 name="interest" value="${stu.interest}"></td>
			</tr>
			<tr valign="top">
				<td>备注</td>
				<td><textarea rows=3 cols=20 name="remark">${stu.remark}</textarea></td>
			</tr>
			<tr>
				<td align="center" colspan="2">
					<input type="hidden" name="id" value="${stu.id}">
					<input type="submit" value="提交">&nbsp;&nbsp;<input type="reset" value="重置">
				</td>
			</tr>
		</table>
	</form>
</body>
</html>